﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace S4Store.Models
{
    public class RateDecimal
    {
        public RateDecimal()
        {
        }
        public RateDecimal(int value)
        {
            Value = value;
        }
        public RateDecimal(decimal value)
        {
            Value = value;
        }
        public RateDecimal(double value)
        {
            Value = (decimal)value;
        }
        public RateDecimal(decimal value,bool israte)
        {
            Value = value;
            IsRate = israte;
        }
        public decimal Value { get; set; }
        public bool IsRate { get; set; }
        public bool? IsFail { get; set; }
    }
}